package com.hgkj.system.domain.dto.request;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AssignUserRole {

    @Min(value = 2, message = "userId不能小于2")
    @NotNull(message = "userId不能为空")
    private Long userId;

    private Long[] roleIds;
}
